import {commGet, commPost} from "@utils/service/index.js";

export function warehouseOverseaList(data) {
    return commGet({
        url: `/api/autoapi/warehouse_oversea_list`,
        method: 'get',
        data
    })
}

export function getWarehouseInfo(data) {
    return commGet({
        url: `/api/autoapi/warehouse_info`,
        method: 'get',
        data
    })
}

export function getPkgAddress(data) {
    return commGet({
        url: `/api/autoapi/pkg_address`,
        method: 'get',
        data
    })
}

export function getProductListForMapping(data) {
    return commGet({
        url: `/api/autoapi/product_list_for_mapping`,
        method: 'get',
        data
    })
}
export function getPkgSkuList(data) {
    return commGet({
        url: `/api/autoapi/pkg_sku_list`,
        method: 'get',
        data
    })
}
export function simulationPriceRate(data) {
    return commPost({
        url: `/api/wms/simulation/price/rate`,
        method: 'post',
        data
    })
}
export function batchSimulationPriceRate(data) {
    return commPost({
        url: `/api/wms/simulation/price/batchRate`,
        method: 'post',
        data
    })
}
